package cn.bs.busuo.account.dao.persist.mapper;

import cn.bs.busuo.account.pojo.entity.SightsSeasons;
import cn.bs.busuo.account.pojo.vo.SeasonVO;
import cn.bs.busuo.account.pojo.vo.SightsSeasonsVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * 添加删除季节推荐景点
 *
 * @author 0.0
 */
@Repository
public interface SightsSeasonsMapper extends BaseMapper<SightsSeasons> {


    /**
     * 删除季节景点
     */
    void delectSeason(Long id);
    /**
     * 根据季节id查询季节
     */
    SeasonVO selectById(Long id);
    /**
     * 根据季节id和景点id查询数据
     */
    SightsSeasonsVO selectByType(SightsSeasons sightsSeasons);

}
